//
//  EMBaseViewController.h
//  EasyMoney
//
//  Created by zh on 2019/12/14.
//  Copyright © 2019 zh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface EMBaseViewController : UIViewController

-(void)setPublicParams:(NSDictionary*)params;

-(NSDictionary*)getPublicParams;

+ (BOOL)defaultAllowRightSlide;

+ (void)setDefaultAllowRightSlide:(BOOL)allow;

-(BOOL)allowRightSlide;

- (BOOL)handleWillOpenUrlWithParams:(NSDictionary*)params;

- (void)handleTransferPublicParams:(NSDictionary*)params;

-(void)leftTopAction:(id)sender;

+ (BOOL)isSingleton;

+ (BOOL)shouldPresent;

+ (BOOL)shouldDimiss;

+ (BOOL)isEnablePublicParams;

+ (NSString*)relyingOnOtherUrlSchemeWithParams:(NSDictionary*)params;

@end

NS_ASSUME_NONNULL_END
